package xian.woniuxy.h_static.g;

class Foo {
    public static int a = f1();

    static {
        System.out.println("A");
    }

    public static  int f1() {
        System.out.println("Foo.f1");
        return 5;
    }



    {
        System.out.println("B");
    }
    int b = f2();

    int f2() {
        System.out.println("Foo.f2");
        return 22;
    }


}

public class App {
    public static void main(String[] args) {
        Foo f = new Foo();
    }
}
